CC=g++
CPPFLAGS=-Wall

BIN=editor

all: main
	mv main $(BIN)

main: filemanagement.o socket.o message.o server.o client.o control.o list.o main.o

clean:
	find $(PWD) -type f -name "*.o" -exec rm -rf {} \;
distclean:
	find $(PWD) -type f -name "*.o" -exec rm -rf {} \;
	find $(PWD) -type f -name "*~" -exec rm -rf {} \;
	rm -rf $(PWD)/$(BIN)
